SSH 免密码登录 CentOS7下
yum -y remove openssh-server
yum -y install openssh-server
启动
/usr/sbin/sshd
ssh-keygen
拷贝秘钥到其他所有节点服务器上面
ssh-copy-id -i /root/.ssh/id_rsa '-p 22 root@192.168.3.100 '
ssh 10.10.200.4
yum -y remove openssh-server
yum -y install openssh-server
启动
/usr/sbin/sshd
ssh-keygen
拷贝秘钥到其他所有节点服务器上面
ssh-copy-id -i /root/.ssh/id_rsa '-p 22 root@192.168.3.100 '
ssh 10.10.200.4